<%--login.jsp--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户登录</title>
</head>
<body>
<div id="content" align="center">
    <h3>用户登录</h3>
    <hr>

    <form action="<%=request.getContextPath()%>/login" method="post">

        <table border="1" cellpadding="0" cellspacing="0" width="300px">
            <tr>
                <td><label for="username">用户名:</label></td>
                <td><input type="text" id="username" name="username"/></td>
            </tr>
            <tr>
                <td><label for="password">用户密码:</label></td>
                <td><input type="text" id="password" name="password"/></td>
            </tr>
            <tr>
                <td colspan="2"> <input type="submit" name="submit" id="submit" value="登录"/></td>
            </tr>
        </table>

    </form>
</div>
</body>
</html>